
#include <stdio.h>
#include <setjmp.h>

#include "progress.h"


#define UNUSED(x)  ((void)x)

extern jmp_buf g_eve;

int main(int argc, char *argv[])
{
	
	struct progress_bar progress_bar;

	UNUSED(argc);
	UNUSED(argv);

	init(&progress_bar);
	
	if (sigsetjmp(g_eve, 1) != 10)
        run(&progress_bar); 
    
	destroy();

	return 0;
}


